package com.moji.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.moji.entity.GdArea;
import com.moji.entity.vo.GdAreaVo;

import java.util.HashMap;
import java.util.HashSet;
import java.util.List;

/**
 * <p>
 * 省市县，三级联动 服务类
 * </p>
 *
 * @author mds
 * @since 2023-10-26
 */
public interface GdAreaService extends IService<GdArea> {

    List<GdAreaVo> findProvince();

    List<GdAreaVo> findCity(String areaCode);

    List<GdAreaVo> findArea(String areaCode);

    HashMap<String,String> findNameByCode(HashSet<String> areaCodes);


}
